-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add nginx retain ip header #924
Conversation
ping @sameersbn @solidnerd |
I will test this feature within a week and will give you feedback after that. I hope it's okay for you. |
@solidnerd Any progress? |
Seems like a good feature to me 👍 |
Should this be done for nginx-ssl as well ? Is it a possible test case ? |
Yep, should be done for the SSL part too IMO |
@solidnerd |
Do we have any updates here? |
When can we expect this to be merged? |
I tried setting GitLabCE official document, so please also try this PR #1137. |
If docker container runs behind a reverse proxy (like CDN), unicorn cannot get real client IP, because nginx overrides HTTP header
X-Forwarded-For
andX-Real-IP
.NGINX_RETAIN_IP_HEADER
parameter let nginx retainX-Forwarded-For
andX-Real-IP
.